import { Company } from './company';

export interface Tracker {
    cash: string;
    exchangeRate: string;
    date: Date;
    companies: Company[];
}

export interface CompanyHandler {
    updateCompany: (company: Company) => void;
    removeCompany: (company: Company) => void;
    dragCompany: (oldIndex: number, newIndex: number) => void;
}
